<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>旅游景点首页预览</title>
    <style>
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        
        body {
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
            background-color: #f5f5f5;
            min-height: 100vh;
        }
        
        .tourism-index {
            max-width: 375px;
            margin: 0 auto;
            background-color: #ffffff;
            min-height: 100vh;
            position: relative;
        }
        
        /* 顶部导航栏 */
        .nav-bar {
            background-color: #ffffff;
            padding: 44px 16px 12px 16px;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
            position: fixed;
            top: 0;
            left: 50%;
            transform: translateX(-50%);
            width: 100%;
            max-width: 375px;
            z-index: 1000;
        }
        
        .nav-content {
            display: flex;
            align-items: center;
            justify-content: space-between;
        }
        
        .nav-title {
            font-size: 18px;
            font-weight: 600;
            color: #333;
        }
        
        .nav-right {
            display: flex;
            align-items: center;
            gap: 12px;
        }
        
        .search-box {
            display: flex;
            align-items: center;
            background-color: #f8f8f8;
            border-radius: 20px;
            padding: 8px 12px;
            width: 180px;
        }
        
        .search-input {
            flex: 1;
            margin-left: 8px;
            font-size: 14px;
            color: #333;
            border: none;
            background: transparent;
            outline: none;
        }
        
        .menu-icon {
            padding: 4px;
            cursor: pointer;
        }
        
        /* 主图片区域 */
        .main-image-section {
            margin-top: 80px;
            position: relative;
            height: 200px;
            overflow: hidden;
            background: linear-gradient(135deg, #4A90E2, #7BB3F0);
        }
        
        .main-image {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        
        .image-overlay {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            background: linear-gradient(transparent, rgba(0, 0, 0, 0.6));
            padding: 20px 16px;
        }
        
        .overlay-title {
            display: block;
            color: #ffffff;
            font-size: 20px;
            font-weight: 600;
            margin-bottom: 4px;
        }
        
        .overlay-subtitle {
            display: block;
            color: #ffffff;
            font-size: 14px;
            opacity: 0.9;
        }
        
        /* 功能图标区域 */
        .function-icons-section {
            background-color: #ffffff;
            margin: 16px;
            border-radius: 12px;
            padding: 20px;
            box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
        }
        
        .icons-grid {
            display: flex;
            flex-direction: column;
            gap: 20px;
        }
        
        .icon-row {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        
        .icon-item {
            display: flex;
            flex-direction: column;
            align-items: center;
            flex: 1;
            padding: 8px;
            border-radius: 8px;
            transition: background-color 0.2s;
            cursor: pointer;
        }
        
        .icon-item:hover {
            background-color: #f0f0f0;
        }
        
        .icon-image {
            width: 28px;
            height: 28px;
            margin-bottom: 6px;
            border-radius: 50%;
            background: linear-gradient(135deg, #FF6B35, #F7931E);
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 14px;
        }
        
        .icon-text {
            font-size: 12px;
            color: #666;
            text-align: center;
        }
        
        /* 底部卡片区域 */
        .bottom-cards-section {
            margin: 0 16px 20px 16px;
        }
        
        .cards-container {
            display: flex;
            gap: 12px;
        }
        
        .card {
            flex: 1;
            height: 80px;
            border-radius: 12px;
            padding: 16px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            position: relative;
            overflow: hidden;
            cursor: pointer;
            transition: transform 0.2s;
        }
        
        .card:hover {
            transform: translateY(-2px);
        }
        
        .pink-card {
            background: linear-gradient(135deg, #FF6B9D, #FF8E9B);
        }
        
        .blue-card {
            background: linear-gradient(135deg, #4A90E2, #7BB3F0);
        }
        
        .card-content {
            display: flex;
            flex-direction: column;
        }
        
        .card-title {
            color: #ffffff;
            font-size: 16px;
            font-weight: 600;
            margin-bottom: 4px;
        }
        
        .card-subtitle {
            color: #ffffff;
            font-size: 12px;
            opacity: 0.9;
        }
        
        .card-icon {
            opacity: 0.8;
            font-size: 24px;
        }
        
        /* 底部导航栏 */
        .bottom-nav {
            background-color: #ffffff;
            display: flex;
            align-items: center;
            justify-content: space-around;
            padding: 8px 0 20px 0;
            border-top: 1px solid #f0f0f0;
            position: fixed;
            bottom: 0;
            left: 50%;
            transform: translateX(-50%);
            width: 100%;
            max-width: 375px;
            z-index: 1000;
        }
        
        .nav-item {
            display: flex;
            flex-direction: column;
            align-items: center;
            padding: 4px 8px;
            border-radius: 6px;
            transition: background-color 0.2s;
            cursor: pointer;
        }
        
        .nav-item:hover {
            background-color: #f0f0f0;
        }
        
        .nav-icon {
            font-size: 20px;
            margin-bottom: 2px;
        }
        
        .nav-text {
            font-size: 10px;
            color: #999;
        }
        
        .nav-text.active {
            color: #007AFF;
        }
        
        .nav-item.active .nav-icon {
            color: #007AFF;
        }
        
        /* 响应式适配 */
        @media (max-width: 375px) {
            .search-box {
                width: 140px;
            }
            
            .icon-text {
                font-size: 11px;
            }
            
            .card-title {
                font-size: 14px;
            }
            
            .card-subtitle {
                font-size: 11px;
            }
        }
    </style>
</head>
<body>
    <div class="tourism-index">
        <!-- 顶部导航栏 -->
        <div class="nav-bar">
            <div class="nav-content">
                <div class="nav-title">好美诸暨</div>
                <div class="nav-right">
                    <div class="search-box">
                        <span>🔍</span>
                        <input class="search-input" placeholder="搜索景点、酒店..." />
                    </div>
                    <div class="menu-icon">☰</div>
                </div>
            </div>
        </div>

        <!-- 主图片区域 -->
        <div class="main-image-section">
            <div class="image-overlay">
                <div class="overlay-title">探索诸暨美景</div>
                <div class="overlay-subtitle">发现身边的美好</div>
            </div>
        </div>

        <!-- 功能图标区域 -->
        <div class="function-icons-section">
            <div class="icons-grid">
                <!-- 第一行 -->
                <div class="icon-row">
                    <div class="icon-item" onclick="showMessage('酒店')">
                        <div class="icon-image">🏨</div>
                        <div class="icon-text">酒店</div>
                    </div>
                    <div class="icon-item" onclick="showMessage('民宿')">
                        <div class="icon-image">🏠</div>
                        <div class="icon-text">民宿</div>
                    </div>
                    <div class="icon-item" onclick="showMessage('景点')">
                        <div class="icon-image">🏔️</div>
                        <div class="icon-text">景点</div>
                    </div>
                    <div class="icon-item" onclick="showMessage('美食')">
                        <div class="icon-image">🍜</div>
                        <div class="icon-text">美食</div>
                    </div>
                    <div class="icon-item" onclick="showMessage('购物')">
                        <div class="icon-image">🛍️</div>
                        <div class="icon-text">购物</div>
                    </div>
                </div>
                
                <!-- 第二行 -->
                <div class="icon-row">
                    <div class="icon-item" onclick="showMessage('特产')">
                        <div class="icon-image">🎁</div>
                        <div class="icon-text">特产</div>
                    </div>
                    <div class="icon-item" onclick="showMessage('活动')">
                        <div class="icon-image">🎪</div>
                        <div class="icon-text">活动</div>
                    </div>
                    <div class="icon-item" onclick="showMessage('乡村')">
                        <div class="icon-image">🌾</div>
                        <div class="icon-text">乡村</div>
                    </div>
                    <div class="icon-item" onclick="showMessage('交通')">
                        <div class="icon-image">🚌</div>
                        <div class="icon-text">交通</div>
                    </div>
                    <div class="icon-item">
                        <!-- 空白占位 -->
                    </div>
                </div>
            </div>
        </div>

        <!-- 底部卡片区域 -->
        <div class="bottom-cards-section">
            <div class="cards-container">
                <!-- 左侧粉色卡片 -->
                <div class="card pink-card" onclick="showMessage('智能出行')">
                    <div class="card-content">
                        <div class="card-title">智能出行</div>
                        <div class="card-subtitle">便捷旅游服务</div>
                    </div>
                    <div class="card-icon">📍</div>
                </div>
                
                <!-- 右侧蓝色渐变卡片 -->
                <div class="card blue-card" onclick="showMessage('游客评价')">
                    <div class="card-content">
                        <div class="card-title">游客评价</div>
                        <div class="card-subtitle">分享旅行体验</div>
                    </div>
                    <div class="card-icon">⭐</div>
                </div>
            </div>
        </div>

        <!-- 底部导航栏 -->
        <div class="bottom-nav">
            <div class="nav-item active">
                <div class="nav-icon">🏠</div>
                <div class="nav-text active">首页</div>
            </div>
            <div class="nav-item" onclick="showMessage('列表页面')">
                <div class="nav-icon">📋</div>
                <div class="nav-text">列表</div>
            </div>
            <div class="nav-item" onclick="showMessage('评价页面')">
                <div class="nav-icon">💬</div>
                <div class="nav-text">评价</div>
            </div>
            <div class="nav-item" onclick="showMessage('个人中心')">
                <div class="nav-icon">👤</div>
                <div class="nav-text">我的</div>
            </div>
        </div>
    </div>

    <script>
        function showMessage(type) {
            alert('点击了：' + type + '\n\n在实际应用中，这里会跳转到对应的页面。');
        }
        
        // 添加一些交互效果
        document.addEventListener('DOMContentLoaded', function() {
            // 搜索框焦点效果
            const searchInput = document.querySelector('.search-input');
            searchInput.addEventListener('focus', function() {
                this.parentElement.style.backgroundColor = '#e8f4fd';
            });
            searchInput.addEventListener('blur', function() {
                this.parentElement.style.backgroundColor = '#f8f8f8';
            });
        });
    </script>
</body>
</html>